InitSession
TheInitSession
method initializes this session and creates its objects.
void InitSession ();DISCUSSION
Your part editor should never call this method directly; the document shell automatically calls this method when an OpenDoc document is opened.